package com.cn.hnust.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cn.hnust.dao.StrategyMapper;
import com.cn.hnust.dao.UserMapper;
import com.cn.hnust.pojo.Scenic;
import com.cn.hnust.pojo.Strategy;
import com.cn.hnust.service.IStrategyService;
import com.cn.hnust.service.IUserService;
import com.cn.hnust.util.Page;


@Service("strategyService")



public class StrategyServiceImpl implements IStrategyService {
	
	@Autowired
	private StrategyMapper strategyDao;
	
	
	public Scenic getUserById(Integer userId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	
	public List<Strategy> getUsers() {
		// TODO Auto-generated method stub
		return strategyDao.getUsers();
	}

	
	public Strategy getUser(int id) {
		// TODO Auto-generated method stub
		return strategyDao.getUser(id);
	}

	
	public int insert(Strategy user) {
		// TODO Auto-generated method stub
		return 0;
	}

	
	public int delscenic(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	
	public List<Strategy> selectPersons(String scenic_name, Page page) {
		// TODO Auto-generated method stub
		return null;
	}

	
	public List<Strategy> queryAllRecord(Page page) {
		// TODO Auto-generated method stub
		return strategyDao.getUsers();
	}

	
	public int getCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	
	public int updateByPrimaryKey(Strategy record) {
		// TODO Auto-generated method stub
		return 0;
	}

	
	public int getCountmh(String scenic_name) {
		// TODO Auto-generated method stub
		return 0;
	}

	
	public List<Strategy> queryReception() {
		// TODO Auto-generated method stub
		return null;
	}

}
